import 'package:flutter_test/flutter_test.dart';
import 'package:plate_lpr/plate_lpr.dart';
import 'package:plate_lpr/plate_lpr_platform_interface.dart';
import 'package:plate_lpr/plate_lpr_method_channel.dart';
import 'package:plugin_platform_interface/plugin_platform_interface.dart';

class MockPlateLprPlatform
    with MockPlatformInterfaceMixin
    implements PlateLprPlatform {
  @override
  Future<String?> getPlatformVersion() => Future.value('42');

  @override
  void deletePic() {
    // TODO: implement deletePic
  }

  @override
  Future<String?> recog({EOpenType openType = EOpenType.NoPlate}) {
    // TODO: implement recog
    throw UnimplementedError();
  }
}

void main() {
  final PlateLprPlatform initialPlatform = PlateLprPlatform.instance;

  test('$MethodChannelPlateLpr is the default instance', () {
    expect(initialPlatform, isInstanceOf<MethodChannelPlateLpr>());
  });
}
